projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec21dc4
)
core: Allow '.' in refspecs too
author
Colin Walters
<walters@verbum.org>
Fri, 5 Jul 2013 20:51:47 +0000
(16:51 -0400)
committer
Colin Walters
<walters@verbum.org>
Fri, 5 Jul 2013 20:51:47 +0000
(16:51 -0400)
For version numbers.
src/libostree/ostree-core.c
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-core.c
b/src/libostree/ostree-core.c
index 642154ba0182ff4e8c7c9b933cff05a17ef5bbbd..fb2923fbc4d359458a896c4bd9cfc2129bbe4a97 100644
(file)
--- a/
src/libostree/ostree-core.c
+++ b/
src/libostree/ostree-core.c
@@
-61,7
+61,7
@@
ostree_validate_checksum_string (const char *sha256,
return ostree_validate_structureof_checksum_string (sha256, error);
}
-#define OSTREE_REF_FRAGMENT_REGEXP "[-_\\w\\d]+"
+#define OSTREE_REF_FRAGMENT_REGEXP "[-
.
_\\w\\d]+"
#define OSTREE_REF_REGEXP "(?:" OSTREE_REF_FRAGMENT_REGEXP "/)*" OSTREE_REF_FRAGMENT_REGEXP
gboolean